Total Complexity | 83 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 640 |
Lines of code | 373 |
Logical lines of code | 169 |
Comment lines | 194 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
recursively_inject_weights_to_fields() | 42 | 20 | 49 | |
do_weighting() | 41 | 15 | 60 | |
save_weighting_configuration() | 46 | 14 | 36 | |
render_settings_section() | 43 | 12 | 51 | |
render_settings_page() | 44 | 5 | 49 | |
get_weightable_fields_for_post_type() | 45 | 3 | 47 | |
get_post_type_default_settings() | 51 | 3 | 31 | |
handle_save() | 61 | 4 | 12 | |
post_type_has_fields() | 57 | 3 | 16 | |
setup() | 71 | 1 | 5 | |
get_weighting_configuration() | 78 | 1 | 3 | |
add_weighting_submenu_page() | 65 | 1 | 10 | |
redirect() | 77 | 1 | 4 |